package cn.ljy.authority.model.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@ApiModel(value="账户id集合、角色id集合表单")
@Data
public class UserIdsAndRoleIdsForm {
    @ApiModelProperty(value="账户id集合")
    @NotEmpty(message = "账户id集合不能为空")
    private Long[] userIds;
    @ApiModelProperty(value="角色id集合")
    @NotEmpty(message = "角色id集合不能为空")
    private Integer[] roleIds;
}
